/**
 * Created by bunny on 2017/8/12.
 */
$(function () {
    var linum = 5 * 5 * 5;
    var tx = 300,ty = 300;tz = 500;
    var firstx = -2*tx;
    var firsty = -2*ty;
    var firstz = -2*tz;

    for (var i = 0; i < linum; i++) {
        var $li = $('<li></li>');
        var ix = (i/25)%5;
        var iy = parseInt((i/25)/5);
        var iz = parseInt(i/25)
        $li.css({

            'tansform':'tanslate3d('+(firstx +ix*tx)+'px,'+(firsty + iy*ty)+'px,'+(firstz+iz*tz)
        });
        $('#main').append($li);

    }
});
